package com.gjx.springboot.infra.mapper;

import com.gjx.springboot.domain.entity.Departments;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DepartMentsMapper {
    List<Departments> getAllDepartMents();
    Boolean insertOneDepartMent(Departments departments);
    Boolean deleteByDepartmentId(Integer departmentId);
    Boolean updateDepartmentId(Departments departments);
}
